package com.gzzyy.facerecognition

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.gzzyy.facerecognition.bean.ResultBean

class ResultAdapter : BaseQuickAdapter<ResultBean, BaseViewHolder>(R.layout.item_result) {
    override fun convert(helper: BaseViewHolder, item: ResultBean) {
        helper.setText(R.id.propertyNameTv, item.name)
        helper.setText(R.id.propertyValueTv, item.value)
    }
}